package com.text.day1_3;

public class JiTu {
    public static void main(String[] args) {
        boolean flag = true;
        for (int i = 0;flag; i++) {
            for (int j = 0; j < 35; j++) {
                if ( i + j == 35 && i * 2 + j * 4 == 94){
                    System.out.println( "鸡：" + i + "兔：" + j);
                    flag = false;
                    break;
                }

            }
        }
    }
}
